package com.loadmore.common.model;


import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;

/**
 * @author sunleilei
 * @date 2018/7/12
 * @time 13:53
 */

@Entity
public class User implements Serializable {
    private static final long serialVersionUID = -8637278774707977230L;
    @Id(autoincrement = false)
    public Long id;
    public String name;
    public String email;
    public String address;
    public String phone;
    public String avatar;
    public Integer sex;
    public String birthday;
    public String last_active;
    public String user_level;
    public String created_at;
    public String updated_at;
    public String introduction;
    @Generated(hash = 1701051895)
    public User(Long id, String name, String email, String address, String phone,
            String avatar, Integer sex, String birthday, String last_active,
            String user_level, String created_at, String updated_at,
            String introduction) {
        this.id = id;
        this.name = name;
        this.email = email;
        this.address = address;
        this.phone = phone;
        this.avatar = avatar;
        this.sex = sex;
        this.birthday = birthday;
        this.last_active = last_active;
        this.user_level = user_level;
        this.created_at = created_at;
        this.updated_at = updated_at;
        this.introduction = introduction;
    }
    @Generated(hash = 586692638)
    public User() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getEmail() {
        return this.email;
    }
    public void setEmail(String email) {
        this.email = email;
    }
    public String getAddress() {
        return this.address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public String getPhone() {
        return this.phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getAvatar() {
        return this.avatar;
    }
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
    public Integer getSex() {
        return this.sex;
    }
    public void setSex(Integer sex) {
        this.sex = sex;
    }
    public String getBirthday() {
        return this.birthday;
    }
    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }
    public String getLast_active() {
        return this.last_active;
    }
    public void setLast_active(String last_active) {
        this.last_active = last_active;
    }
    public String getUser_level() {
        return this.user_level;
    }
    public void setUser_level(String user_level) {
        this.user_level = user_level;
    }
    public String getCreated_at() {
        return this.created_at;
    }
    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }
    public String getUpdated_at() {
        return this.updated_at;
    }
    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }
    public String getIntroduction() {
        return this.introduction;
    }
    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }
}
